package com.serviceprovider.business.module.admin.transaction.valueobjects;

//~--- non-JDK imports --------------------------------------------------------

import com.serviceprovider.business.module.sp.transaction.valueobjects.TransactionDetailsVO;

import org.apache.commons.collections.FactoryUtils;
import org.apache.commons.collections.map.LazyMap;

//~--- JDK imports ------------------------------------------------------------

import java.util.HashMap;
import java.util.Map;

public class ProcessTransactionVO {
    private Integer                            toProviderID;
    private Integer                            toProviderSSN;
    private Map<Integer, TransactionDetailsVO> transactionDetails;

    public ProcessTransactionVO() {
        transactionDetails = LazyMap.decorate(new HashMap<Integer, TransactionDetailsVO>(),
                FactoryUtils.instantiateFactory(TransactionDetailsVO.class));
    }

    public Integer getToProviderID() {
        return toProviderID;
    }

    public void setToProviderID(Integer toProviderID) {
        this.toProviderID = toProviderID;
    }

    public Map<Integer, TransactionDetailsVO> getTransactionDetails() {
        return transactionDetails;
    }

    public void setTransactionDetails(Map<Integer, TransactionDetailsVO> transactionDetails) {
        this.transactionDetails = transactionDetails;
    }

    public Integer getToProviderSSN() {
        return toProviderSSN;
    }

    public void setToProviderSSN(Integer toProviderSSN) {
        this.toProviderSSN = toProviderSSN;
    }
}



